from langchain_openai import ChatOpenAI
from langchain_core.messages import (
    HumanMessage,
    SystemMessage,
    AIMessage
)

chat = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0.3)

messages = [
    SystemMessage(content="你是个取名大师，你擅长为创业公司取名字"),
    HumanMessage(content="帮我给新公司取个名字，要包含 AI")
]
response = chat(messages)
print(response.content, end="\n")
